Skip to content

Combined Auto And Shift Tab#64

Open
YoniKiriaty wants to merge 2 commits intomasterfrom
scouting/upda/climb-tabs
Open

Combined Auto And Shift Tab#64
YoniKiriaty wants to merge 2 commits intomasterfrom
scouting/upda/climb-tabs

Conversation

@YoniKiriaty
Copy link
Contributor

No description provided.

@YoniKiriaty YoniKiriaty self-assigned this Feb 18, 2026
@YoniKiriaty YoniKiriaty added the enhancement New feature or request label Feb 18, 2026
Comment on lines +29 to +35
shiftType === "auto"
? prevForm.auto.shootEvents
: shiftType === "teleop"
? prevForm.tele.shifts[tabIndex].shootEvents
: shiftType === "transition"
? prevForm.tele.transitionShift.shootEvents
: prevForm.tele.endgameShift.shootEvents;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change this to an object. { auto: ...., teleop: ...., transition: ... and then use the correct key. prevEvents = events[shiftType]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments